package net.pws.common.security.filter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 验证码验证器
 * @author LiangBin
 *
 */
public interface CaptchaValidator {
    
    /**
     * 验证是否成功
     * @param servletRequest
     * @param servletResponse
     * @return
     */
    public boolean validate(HttpServletRequest request, HttpServletResponse response);
    
}
